home *** CD-ROM | disk | FTP | other *** search
/ Power CD-ROM!! 8 / Power CD-ROM 8.iso / prgmming / pbvl110 / help_me.doc < prev    next >
Encoding:
Text File  |  1994-11-09  |  4.7 KB  |  109 lines

  1.  
  2.      COMMON PB/VISION PROBLEMS AND QUESTIONS.
  3.      ─────────────────────────────────────────────────────────────────
  4.  
  5.      If you get stuck while using PB/VISION(tm), this is the file to
  6.      consult.  If you don't find what your are looking for, please
  7.      consult the documentation section covering "Technical Support".
  8.      We're fun people to talk to so stay calm and give us a call.
  9.  
  10.      PROBLEM:  All of a sudden your program starts having "Exception
  11.                #12" errors.
  12.  
  13.      SOLUTION: This is caused by having too small of a stack and
  14.                occurs if you have deeply nested subroutines or
  15.                subroutines with a lot of local variables.  It can be
  16.                fixed by creating a larger stack with the $STACK
  17.                command (ie $STACK 8192).
  18.  
  19.                Stack errors are the most common and hard to find bugs
  20.                on the planet.  Anytime you have a bug that you just
  21.                cannot explain, try increasing the size of the stack
  22.                with $STACK.  Not too big though.
  23.  
  24.  
  25.      PROBLEM:  When attempting to run any of the example programs or
  26.                tutorial programs,  PowerBASIC displays the message
  27.                "Error 519: Missing Declaration".
  28.  
  29.      SOLUTION: From within PowerBASIC (PB.EXE), select the following
  30.                from the pulldown menu "Options|Compiler|Variable
  31.                Declarations". Select the "None" options to turn off
  32.                variable checking.
  33.  
  34.  
  35.      PROBLEM:  When resuming execution after hitting a breakpoint, the
  36.                mouse is dead.
  37.  
  38.      SOLUTION: Apparently, PowerBASIC resets the mouse when it hits a
  39.                breakpoint, but doesn't restore it afterward.  Your
  40.                only option is to turn off PB.EXE's use of the mouse
  41.                under the "Options|Environment" menu.
  42.  
  43.  
  44.      PROBLEM:  The mouse cursor in PowerBASIC is garbled after ending
  45.                the program or hitting a breakpoint.
  46.  
  47.      SOLUTION: This is a side effect of trying to to mix graphics in
  48.                text mode.  To avoid the problem, you should use the
  49.                text block cursor in the IDE, and switch to the
  50.                graphical mouse only in a compiled program.  See
  51.                APP.GRAPHICSMOUSE for more info.
  52.  
  53.  
  54.      PROBLEM:  If the program doesn't end normally, a lot of my screen
  55.                characters look funny?
  56.  
  57.      SOLUTION: This is a side effect of "Graphics Mapping".  If your
  58.                program never reaches the APPCLOSE() routine, the video
  59.                card doesn't get reset.  There is _NO_ harm in this.
  60.                Everything on your screen should still be 100% readable
  61.                and after a day or so, you won't even notice it.  If it
  62.                really bothers you, set APP.GRAPHICSMODE to 0.
  63.  
  64.  
  65.      PROBLEM.  When I run one of my programs from the DOS command
  66.                line, a "registration notice" pops up at the end of the
  67.                program.
  68.  
  69.      SOLUTION: PB/VISION(tm) LITE is distributed as shareware.  The
  70.                screen is only there to remind you of the fact, and it
  71.                only comes up when the program is compiled to an EXE.
  72.                It doesn't come up in the IDE because it would really
  73.                become a nuisance and cause you to think unkindly of
  74.                us.  The registered version does _not_ do this.
  75.  
  76.  
  77.      QUESTION. Is it true that you met Elvis while your were being
  78.                held captive by aliens from the planet Phernabulax?
  79.  
  80.      ANSWER:   No.  That was blown completely out of proportion.  He
  81.                was just an Elvis impersonator.
  82.  
  83.  
  84.      PROBLEM:. After assigning a function with WININSTALLCODE() or
  85.                TIMERINSTALLCODE(), the computer freezes.
  86.  
  87.      SOLUTION: Check to make sure that you formatted the function
  88.                correctly.  You can import templates for both from the
  89.                help system.  Press <CTRL-F1> until our help system
  90.                comes up.
  91.  
  92.  
  93.      PROBLEM:  Two cars are on a collision course on the Interstate.
  94.                Cars "A" and "B" are maintaining a constant of speed of
  95.                65 mph and 45 mph, respectively.
  96.  
  97.                When the two cars are exactly 55 miles apart, a lonely
  98.                house fly (on a caffeine binge) starts flying from car
  99.                "A" to car "B" at a steady speed of 92 mph.  When the
  100.                fly reaches car "B" it zips around and heads back
  101.                towards car "A".  It keeps going from car to car until
  102.                both cars collide.
  103.  
  104.                How many miles did the fly travel before getting
  105.                squashed between the two colliding cars?
  106.  
  107.      SOLUTION: !
  108.  
  109.